<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
  metaInfo() {
    return {
      title: this.$store.getters["settings/dynamicTitle"]
        ? this.$store.getters["settings/title"]
        : "",
      titleTemplate: (title) => {
        return title ? title + "-小猿管理系统" : "小猿管理系统";
      },
    };
  },
};
</script>
